<header>
    <nav ng-controller="nav">
        <span class="username"><a href="/"><i class="fa fa-heart"></i><img src="/images/logo.png"></a></span>
        <ul>
            <li ng-repeat="nav in navList">
                <a ng-href="{{nav.href}}"
                   ng-click="showClassify(nav.name)"
                   ng-class="{active:classActive(nav.name)}">
                    {{nav.name}}
                </a>
            </li>
        </ul>
    </nav>
</header>